#include "DTABLE2Data.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::FEM;

bool SG::DataStructure::FEM::operator==(const DTABLE2Data::VALUESData& val1,
                                        const DTABLE2Data::VALUESData& val2) {
  FIELD_COMPARE_ARR(m_LABEL, 8)
  FIELD_COMPARE_ARR(m_PNAME, 8)
  FIELD_COMPARE(m_pId)
  FIELD_COMPARE_ARR(m_FNAME, 8)
  return true;
}

bool SG::DataStructure::FEM::operator==(const DTABLE2Data& val1,
                                        const DTABLE2Data& val2) {
  FIELD_COMPARE(m_domainId)
  return true;
}